package com.jwcao.common.cast.annotation;

import com.jwcao.common.cast.Cast;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * name: 类型转换 description: TODO
 *
 * @author caojingwei date: 2022/3/17 4:51 PM
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Repeatable(CastObjects.class)
@Inherited
public @interface CastObject {

    Class<?> value() default Object.class;

    String className() default "";

    String id() default Cast.DEFAULT_ID;
}
